package com.example.demo.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchCriteriaVo {

    private String ByName;  //通过名称查询产品;
    private BigDecimal MaxPrice;  //通过最大价格来查询
    private BigDecimal MinPrice;  //通过最小价格来查询
    private Integer ByCateId;  //通过类别来查询
    private Integer BranderId;   //通过品牌不同的来查询
    //排序条件;
    private String SortFiled;

    //排序的顺序;
    private String SortOrder;

    //分页条件;
    private Integer PageNum;
    private Integer PageSize;
    private Integer RowStart;

}
